TextNode.this

Creates a render node that renders the given glyphs.

Note that @color may not be used if the font contains color glyphs.

  1. this(GskTextNode* gskTextNode, bool ownedRef)
  2. this(PgFont font, PgGlyphString glyphs, RGBA color, Point offset)

Parameters

font PgFont

the PangoFont containing the glyphs

glyphs PgGlyphString

the PangoGlyphString to render

color RGBA

the foreground color to render with

offset Point

offset of the baseline

Return Value

a new GskRenderNode

Throws

ConstructionException GTK+ fails to create the object.

Meta